﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace ManyToManyEntityFramework.Models
{
    public class TeacherIndexViewModel
    {
        public int TeacherId { get; set; }
        [Display(Name = "Teacher Name")]
        public string Name { get; set; }
        public List<StudentIndexViewModel> Students { get; set; }
    }
}
